using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using IReaper.FileData;

namespace IReaper.Statues
{
    public partial class RemoveFileWork : CourseFileWorkBase
    {
        public RemoveFileWork()
        {
            InitializeComponent();
        }

        public RemoveFileWork(IContainer container)
        {
            container.Add(this);

            InitializeComponent();
        }

        
        protected override void OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
        {
            base.OnRunWorkerCompleted(e);
        }

        protected override void TaskUnitEntry(CourseFileData data)
        {
            CourseFileDataManager.RemoveFileData(data);
        }
    }
}
